package club.babyf.nativeai.functioncalling.exception;

import lombok.Getter;

/**
 * FunctionExecutionException.
 *
 * @author zhanglei.
 * @date 2025/2/21 10:40.
 * @description 函数执行异常.
 */
@Getter
public class FunctionExecutionException extends RuntimeException {

    private final String errorCode;

    public FunctionExecutionException(String errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

}
